package com.sc.nft.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.AdminProductStockDetail;
import com.sc.nft.entity.vo.AdminProductStockDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 后台调整商品库存记录表(sc_admin_product_stock_detail)数据Mapper
 *
 * @author Tangzehui
 * @since 2023-11-30 10:19:14
 * @description 
*/
@Mapper
public interface AdminProductStockDetailMapper extends BaseMapper<AdminProductStockDetail> {

    /**
     * 分页获取后台商品库存调整记录
     * @param page
     * @param firstTitle
     * @param isAdd
     * @param startTime
     * @param endTime
     * @return
     */
    Page<AdminProductStockDetailVO> pageAdmin(Page page, @Param("firstTitle") String firstTitle, @Param("isAdd")Boolean isAdd, @Param("startTime")Date startTime, @Param("endTime")Date endTime);
}
